home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 6
/
FM Towns Free Software Collection 6.iso
/
ms_dos
/
gds
/
source
/
gds001.c
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1993-07-08
|
206 b
|
11 lines
#include <stdio.h>
unsigned char *GDS_append(unsigned char *wp,unsigned int size) {
unsigned int byte;
byte=*(unsigned int *)wp;
*(unsigned int *)wp=byte+size;
return wp+2+byte;
}